// 封装订单管理相关接口
import request from '@/utils/request'

// 获取订单列表数据
export const getOrderListService = ({ pageSize, page }) => {
  return request({
    url: '/api/order/list',
    method: 'GET',
    params: {
      pageSize,
      page
    }
  })
}

// 订单列表搜索功能实现
export const searchOrderService = (data) => {
  return request({
    url: '/api/order/search',
    method: 'GET',
    params: {
      data
    }
  })
}
